package com.party.core.dao.write.mall;

import com.party.core.dao.write.BaseWriteDao;
import com.party.core.model.mall.MallCategorySpec;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @Author: Administrator.
 * @Description: 商城分类规格写入数据
 * @Date:Created in 2017/8/22 0022 下午 15:11.
 */
@Repository
public interface MallCategorySpecWriteDao extends BaseWriteDao<MallCategorySpec> {
    void deleteByUnique(MallCategorySpec mallCategorySpec);

    void deleteByCategoryId(@Param(value = "categoryId") String categoryId);
}
